/**
 * 
 */
package org.istt.dao;

import java.util.Date;
import java.util.List;

import org.istt.domain.Category;

/**
 * @author Huy
 *
 */
public interface CategoryDao extends Dao<Category, Long> {
	List<Category> findByEntity(Category c, String... excludeProperty);
	List<Category> findByFieldId(Long fieldId);
	List<Category> findByAllowSubmitOnline();
	List<Category> findByDeptId(Long deptId);
	List<Object[]> statisticsCategory (Long fieldId, Long userId, Date fromDate, Date toDate);
	List<Object[]> getProcessStatusId ();
	List<Category> getSortedList();
}
